package com.itjin.resume_back.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itjin.resume_back.entity.Resume;
import org.springframework.web.multipart.MultipartFile;

public interface ResumeService extends IService<Resume> {
  // 上传简历
  void uploadResume(Long userId, String title, String description, MultipartFile file, String tags);

  // 更新简历
  void updateResume(Long id, String title, String description, MultipartFile file, String tags);

  // 审核简历
  void approveResume(Long id, Integer status);

  // 删除简历
  void deleteResume(Long id);

  // 获取简历文件
  byte[] getResumeFile(Long id);
}